Simulation Of A Dc Motor Controlled With Relays Reversing Direction